package upb.webserver.test.param;

import com.upb.webserver.common.pojo.contract.ReqSendTransVO;
import com.upb.webserver.common.pojo.fabric.chaincode.ReqInstantiateChainCodeVO;
import com.upb.webserver.common.pojo.fabric.chaincode.ReqSaveChainCodeVO;
import com.upb.webserver.common.tools.JsonUtils;
import org.assertj.core.util.Arrays;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;
import java.util.ArrayList;
import java.util.List;

public class ContractParamUtils {
    //-------------------------------
    //-------contract-------
    //-------------------------------

    /**
     * ReqSendTransVO
     * @return
     */
    public static ReqSendTransVO initReqSendTransVO() {
        ReqSendTransVO param = new ReqSendTransVO();
        param.setUserId(38);
        param.setContractId(128);
        param.setFuncName("max");
        param.setFuncParam(Arrays.asList(new String[]{"100", "50"}));
        return param;
    }


}
